package com.ruoyi.basebill.service;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import com.ruoyi.basebill.domain.OmsStocktransferbill;

/**
 * 库存调拨单Service接口
 * 
 * @author xiefeng
 * @date 2023-02-15
 */
public interface IOmsStocktransferbillService 
{
    /**
     * 查询库存调拨单
     * 
     * @param id 库存调拨单主键
     * @return 库存调拨单
     */
    public OmsStocktransferbill selectOmsStocktransferbillById(Long id);


    public List<OmsStocktransferbill> selectOmsStocktransferbillByIds(HashSet<Long> ids);

    /**
     * 查询库存调拨单列表
     * 
     * @param omsStocktransferbill 库存调拨单
     * @return 库存调拨单集合
     */
    public List<OmsStocktransferbill> selectOmsStocktransferbillList(OmsStocktransferbill omsStocktransferbill);


    public List<OmsStocktransferbill> selectOmsStocktransferbillDetailList(OmsStocktransferbill omsStocktransferbill);

    /**
     * 新增库存调拨单
     * 
     * @param omsStocktransferbill 库存调拨单
     * @return 结果
     */
    public int insertOmsStocktransferbill(OmsStocktransferbill omsStocktransferbill);

    /**
     * 修改库存调拨单
     * 
     * @param omsStocktransferbill 库存调拨单
     * @return 结果
     */
    public int updateOmsStocktransferbill(OmsStocktransferbill omsStocktransferbill);

    /**
     * 批量删除库存调拨单
     * 
     * @param ids 需要删除的库存调拨单主键集合
     * @return 结果
     */
    public int deleteOmsStocktransferbillByIds(Long[] ids);

    /**
     * 删除库存调拨单信息
     * 
     * @param id 库存调拨单主键
     * @return 结果
     */
    public int deleteOmsStocktransferbillById(Long id);

    List<OmsStocktransferbill> selectSumBillNumberIsNull();

    int updateSumBillNumberByIds(String sumBillNumber, ArrayList<Long> ids);


}
